<!DOCTYPE html>
<html lang="es">
<head>
	<meta charset="UTF-8">
	<title>Listar Empleados</title>
</head>
<body>
	
	<div id="cont"></div>

	<script type="text/javascript">

		var emple = <?php echo json_encode($d); ?>

		var cont = document.getElementById('cont');


		for (var i in emple) {
			var empleado = emple[i];
			var vuelta = 0;
			for (var j in empleado) {

				if (vuelta %2 == 0) {
					var row = empleado[j];
					cont.innerHTML += row+" ";
				}

				vuelta++;
			}			
			cont.innerHTML += "<br />";
		}
		

	</script>

</body>
</html>